Skip to main content

predictiveanalysisvisit

Table: predictiveanalysisvisit

The predictiveanalysisvisit table stores predicted risk and probability assessments for child visits.
It tracks which children are at higher risk and links the data to vaccination centers and vaccinators.


Columns

Column NameData TypeConstraintsDescription
predictiveAnalysisVisitNumint(11)NOT NULL, PRIMARY KEY, AUTO_INCREMENTUnique identifier for each predictive analysis visit
childIdint(11)NULLReference to the child (links to child.mappedId)
createdDatedatetimeNULLTimestamp when the record was created
lastEditedDatedatetimeNULLTimestamp when the record was last edited
probabilitydoubleNULLPredicted probability of a specific outcome for the child
riskLevelvarchar(20)NULLRisk classification (e.g., Low, Medium, High)
vaccinationCenterIdint(11)NULLReference to vaccination center (links to vaccinationcenter.mappedId)
vaccinatorIdint(11)NULLReference to the vaccinator (links to vaccinator.mappedId)
visitDatedatetimeNULLDate of the predicted visit
createdByUserIdint(11)NULLID of the user who created the record
lastEditedByUserIdint(11)NULLID of the user who last edited the record

Indexes

  1. PRIMARY - Primary key on predictiveAnalysisVisitNum
  2. pa_vaccinationCenterId_vaccinationcenter_mappedId_FK - Index on vaccinationCenterId
  3. pa_childId_child_mappedId_FK - Index on childId
  4. pa_vaccinatorId_vaccinator_mappedId_FK - Index on vaccinatorId

Foreign Key Relations

  1. pa_childId_child_mappedId_FKchild.mappedId

    • Links the predictive visit to a specific child
  2. pa_vaccinationCenterId_vaccinationcenter_mappedId_FKvaccinationcenter.mappedId

    • Links the visit to the vaccination center
  3. pa_vaccinatorId_vaccinator_mappedId_FKvaccinator.mappedId

    • Links the visit to the vaccinator responsible

Usage Notes

  • Used for predictive risk analysis on child health visits.
  • Supports tracking and prioritization of high-risk children.
  • Indexes on child, vaccinator, and vaccination center improve query performance for reporting and analytics.